package com.qf.day15.stream;

import java.util.Arrays;
import java.util.List;
import java.util.function.Consumer;

public class StreamDemo1 {
    public static void main(String[] args) {
        List<String> list = Arrays.asList("apple", "banana");
        list.stream().forEach(s -> System.out.println(s.toUpperCase()));
    }
}
